package com.kitchen.ui.dialog.com
{
	import com.kitchen.ui.button.IButtom;
	
	import flash.display.BitmapData;
	import flash.events.MouseEvent;

	public class SureButton extends IButtom
	{
		public function SureButton(bitMapData:BitmapData)
		{
			super(bitMapData);
			this.drawMask(95, 30);
			this.offsetX(2);
			this.offsetY(740);
		}
		
		override protected function onMouseOver(me:MouseEvent):void{
			this.offsetX(100);
		}
		
		override protected function onMouseDown(me:MouseEvent):void{
			this.offsetX(198);
		}
		
		override protected function onMouseOut(me:MouseEvent):void{
			this.offsetX(2);
		}
	}
}